using System;
using System.Collections.Generic;
using Shutterstock.Salesforce.Tools.SFPartner;
using System.Data;
namespace Shutterstock.Salesforce.Tools
{
    public interface ISalesForceConnection: IDisposable
    {
        /// <summary>
        /// The underlying Service
        /// </summary>
        SforceService SalesForceService { get; }

        string SFInstance { get; }
        string SFSession { get; }

        /// <summary>
        /// Login to Salesforce 
        /// </summary>
        /// <param name="username">username to login with</param>
        /// <param name="password">password</param>
        void Login(string username, string password);
    }
}
